<?php
	$query = $this->db->get('plant_cat');	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Exemplar Horticulture</title>
<link href="<?php echo base_url(); ?>themes/front/exemplar/css/styles.css" rel="stylesheet" type="text/css" />
<script src="<?php echo base_url(); ?>themes/front/exemplar/js/dropdown.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>static/Lightbox/js/prototype.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>static/Lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>static/Lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="<?php echo base_url(); ?>static/Lightbox/css/lightbox.css" type="text/css" media="screen" />

<!--[if IE 7]>
    <style type="text/css" media="all">@import "<?php echo base_url(); ?>themes/front/exemplar/css/ie7.css";</style>
<![endif]-->

<!--[if IE 6]>
    <style type="text/css" media="all">@import "<?php echo base_url(); ?>themes/front/exemplar/css/ie6.css";</style>
<![endif]-->

<?php
if($this->uri->segment(1) == 'about-us')
{
	echo "
	<style>
	#content
	{
		width: 450px;
		background-color: #FFFFFF;
		font-family: 'Verdana', Geneva, sans-serif;
		font-size: 13px;
		line-height: 17px;
		color: #B31F35;
		font-weight: normal;
		padding-left: 5px;
		padding-right: 5px;
		padding-top: 5px;
		padding-bottom: 10px;
		margin-top: 15px;
		float: left;
	}
	#content h1
	{
		font-family: 'Georgia', Times New Roman, Times, serif;
		font-style: italic;
		font-size: 24pt;
		padding-bottom: 10px;
		text-align: center;
	}
	</style>
	";
}
elseif($this->uri->segment(1) == 'for-retailers')
{
	echo "
	<style>
	#content
	{
		width: 450px;
		background-color: #FFFFFF;
		font-family: 'Verdana', Geneva, sans-serif;
		font-size: 13px;
		line-height: 17px;
		color: #CA8268;
		font-weight: normal;
		padding-left: 5px;
		padding-right: 5px;
		padding-top: 5px;
		padding-bottom: 10px;
		margin-top: 15px;
		float: left;
	}
	#content h1
	{
		font-family: 'Georgia', Times New Roman, Times, serif;
		font-style: italic;
		font-size: 24pt;
		padding-bottom: 10px;
		text-align: center;
	}
	</style>
	";
}
elseif($this->uri->segment(1) == 'news')
{
	echo "
	<style>
	#content
	{
		width: 450px;
		background-color: #FFFFFF;
		font-family: 'Verdana', Geneva, sans-serif;
		font-size: 13px;
		line-height: 17px;
		color: #CA8268;
		font-weight: normal;
		padding-left: 5px;
		padding-right: 5px;
		padding-top: 5px;
		padding-bottom: 10px;
		margin-top: 15px;
		float: left;
	}
	#content h1
	{
		font-family: 'Georgia', Times New Roman, Times, serif;
		font-style: italic;
		font-size: 24pt;
		padding-bottom: 10px;
		text-align: center;
	}
	</style>
	";
}
elseif($this->uri->segment(1) == 'contact')
{
	echo "
	<style>
	#content
	{
		width: 450px;
		background-color: #FFFFFF;
		font-family: 'Verdana', Geneva, sans-serif;
		font-size: 13px;
		line-height: 17px;
		color: #C7B37E;
		font-weight: normal;
		padding-left: 5px;
		padding-right: 5px;
		padding-top: 5px;
		padding-bottom: 10px;
		margin-top: 15px;
		float: left;
	}
	#content h1
	{
		font-family: 'Georgia', Times New Roman, Times, serif;
		font-style: italic;
		font-size: 24pt;
		padding-bottom: 10px;
		text-align: center;
	}
	</style>
	";
}
elseif($this->uri->segment(1) == 'employment')
{
	echo "
	<style>
	#content
	{
		width: 450px;
		background-color: #FFFFFF;
		font-family: 'Verdana', Geneva, sans-serif;
		font-size: 13px;
		line-height: 17px;
		color: #B31F35;
		font-weight: normal;
		padding-left: 5px;
		padding-right: 5px;
		padding-top: 5px;
		padding-bottom: 10px;
		margin-top: 15px;
		float: left;
	}
	#content h1
	{
		font-family: 'Georgia', Times New Roman, Times, serif;
		font-style: italic;
		font-size: 24pt;
		padding-bottom: 10px;
		text-align: center;
	}
	</style>
	";
}
elseif($this->uri->segment(1) == 'plant-database')
{
	echo "
	<style>
	#content
	{
		width: 450px;
		background-color: #FFFFFF;
		font-family: 'Verdana', Geneva, sans-serif;
		font-size: 13px;
		line-height: 17px;
		color: #C7B37E;
		font-weight: normal;
		padding-left: 5px;
		padding-right: 5px;
		padding-top: 5px;
		padding-bottom: 10px;
		margin-top: 15px;
		float: left;
	}
	#content h1
	{
		font-family: 'Georgia', Times New Roman, Times, serif;
		font-style: italic;
		font-size: 24pt;
		padding-bottom: 10px;
		text-align: center;
	}
	</style>
	";
}
elseif($this->uri->segment(1) == 'gallery')
{
	echo "
	<style>
	#content
	{
		width: 450px;
		background-color: #FFFFFF;
		font-family: 'Verdana', Geneva, sans-serif;
		font-size: 13px;
		line-height: 17px;
		color: #C7B37E;
		font-weight: normal;
		padding-left: 5px;
		padding-right: 5px;
		padding-top: 5px;
		padding-bottom: 10px;
		margin-top: 15px;
		float: left;
	}
	#content h1
	{
		font-family: 'Georgia', Times New Roman, Times, serif;
		font-style: italic;
		font-size: 24pt;
		padding-bottom: 10px;
		text-align: center;
	}
	
	#content a
	{
		color: #867e35;
	}
	
	#content a:hover
	{
		color: #9b9a9a;
	}
	
	</style>
	";
}
?>
<style>
	body
	{
		font-family: "Verdana", Geneva, sans-serif;
		font-size: 12px;
		line-height: 17px;
	}
</style>

</head>

<body id="<?php echo $this->uri->segment(1); ?>">
<center>
<div id="container" align="left">
	<div id="header">
    	<div id="logo"></div>
        <span class="site_title">Exemplar<br />Horticulture</span>
        <div id="slogan">Our commitment<br />is in our name.</div>
        <div id="image_row"></div>
    </div>
    <div id="navigation" align="center">
   	  <ul>
        	<li class="home"><a href="<?php echo site_url(); ?>/home" style="background-color: #bdc780;">Home</a></li>
            <li class="about_us" onmouseover="showLevel('dd_about')" onmouseout="hideLevel('dd_about')">
            	<a href="#" style="background-color: #b31f35;">About Us</a>
                <ul id="dd_about">
                	<li><a href="<?php echo site_url(); ?>/about-us">Who We Are</a></li>
                    <li><a href="<?php echo site_url(); ?>/employment">Employment</a></li>
                </ul>
            </li>
            <li class="for_retailers">
            	<a href="<?php echo site_url(); ?>/for-retailers" style="background-color: #cb826b;">For Retailers</a> 
            </li>
            <li class="plant_database" onmouseover="showLevel('dd_database')" onmouseout="hideLevel('dd_database')">
            	<a href="<?php echo site_url(); ?>/plant-database" style="background-color: #867e35;">Plant Database</a>
                <ul id="dd_database">
				<?php
                foreach($query->result_array() as $category)
                {
                ?>
                	<li><a href="<?php echo site_url().'/gallery/view/'.$category['id']; ?>" title="<?php echo $category['name']; ?>"><?php echo $category['name']; ?></a></li>
                <?php
                }
                ?>
                </ul> 
            </li>
            <li class="contact_us"><a href="<?php echo site_url(); ?>/contact" style="background-color: #c7b37e;">Contact Us</a></li>
      </ul>
    </div>
    <div id="content" style="background-color: #FFF; color: #CA8268;">
    			<h1>Register</h1>
                <p>Please register your username and password. An email will be sent to you once your application has been approved.</p><br />
						<form method="post">
						Username:<br />
						<input type="text" name="username" size="50" class="form" /><br /><br />
						Password:<br />
						<input type="password" name="password" size="50" class="form" /><br /><br />
						Password confirmation:<br />
						<input type="password" name="password2" size="50" class="form" /><br /><br />
						Email:<br />
						<input type="text" name="email" size="50" class="form" /><br /><br />
						<input type="submit" value="Register" name="register" />
						</form>
    </div>
	<div id="sidebar">
	<?php
		echo '<br /><br />';
		echo '<img src="'.base_url().'static/pictures/pages/register.jpg" />';
	?>
    </div>
    <div id="footer">
    	© Exemplar Horticulture Ltd. • Mt Lehman • British Columbia • 1.604.607.0456
    </div>
</div>
</center>
</body>
</html>